import { SubStateMachine } from "./SubStateMachine";
import { PARAMS_NAME_ENUM, SPIKES_COUNT_NUM_MAP_ENUM } from "../Enums";

const BASE_URL = 'texture/spikes/spikesone';

export default class SpikesSubStateMachine extends SubStateMachine {
    run() {
        const value = this.fms.getParams(PARAMS_NAME_ENUM.SPIKES_CUR_COUNT);
        this.currentState = this.stateMachines.get(SPIKES_COUNT_NUM_MAP_ENUM[value as number]);
    }
}